<div class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
        <a class="navbar-brand" href="/" alt="nice design"><img src="/style/images/logo.png" style="width:65px;height:50px;margin-top:-10px"alt="zhizhuxiu"/></a> </div>
      <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
          <li {dede:field name=typeid runphp="yes"}(@me=="")? @me=" class='active'":@me="";{/dede:field}><a href="/">首页</a></li>
          {dede:channel type='top' currentstyle="<li class='active'><a href='~typelink~'>~typename~</a></li>"}
          <li><a href='[field:typelink/]' rel='dropmenu1'>[field:typename/]</a></li>
          {/dede:channel}
        </ul>
      </div>
    </div>
  </div>
  <script src="/style/js/bootstrap.js"></script> 
  <script src="/style/js/jquery.bootstrap-autohidingnavbar.js"></script> 
  <script type="text/javascript">
$("div.navbar-fixed-top").autoHidingNavbar();
</script>